﻿$(document).ready(function () {
    // put your configuration here
    // this code is executed on every page load

    /*
    // trigger the code only in the NewForm.aspx form of Tasks
    if (window.location.href.indexOf("/Lists/Tasks/NewForm.aspx") > -1) {
    var titleField = new qppfSPFormField('Title', 'SPFieldText');
    titleField.setValue("A value for my title field");

    titleField.InputControl.change(function() {
    alert(titleField.getValue());
    });  
      
    titleField.InputControl.click(function() {
    alert("Hello");
    });
      
    var status = new qppfSPFormField('Status', 'SPFieldChoice');
    status.setValue("Completed");
	  
    status.InputControl.change(function() {
    alert(status.getValue());
    });  
    }
    */

});